﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.EventAggregation;

namespace EzDesk.DesktopClient.Event
{
    public class ShutDownArgs
    { }

    public class ShutDownEvent : CompositeEvent<ShutDownArgs>
    {
        private static ShutDownEvent _instance;
        public static ShutDownEvent Instance
        {
            get
            {
                if (_instance == null)
                {
                    _instance = EventAggregator<ShutDownEvent>.GetEvent();
                }
                return _instance;
            }
        }
    }
}
